package com.longmao.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author longmao
 * @date 2022/1/25 10:17
 * Content:
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = {"com.longmao"})
@EnableDiscoveryClient      //nacos注册
public class OssApplication {

    public static void main(String[] args) {
            SpringApplication.run(OssApplication.class, args);
        }

}
